package com.hljx.service;

import com.hljx.dto.DateDTO;
import com.hljx.entity.EtlItemDetail;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.batch.core.JobParametersInvalidException;
import org.springframework.batch.core.repository.JobExecutionAlreadyRunningException;
import org.springframework.batch.core.repository.JobInstanceAlreadyCompleteException;
import org.springframework.batch.core.repository.JobRestartException;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * <p>
 * 数据抽取明细表 服务类
 * </p>
 *
 * @author ${author}
 * @since 2023-10-27
 */
public interface EtlItemDetailService extends IService<EtlItemDetail> {


    /**
     * 数据清洗
     * @param dateDTO
     */
    void  dataCleaning(DateDTO  dateDTO);

    /**
     * 数据计算
     * @param dateDTO
     */
    void  dataStatistics(DateDTO  dateDTO);


    /**
     * 数据汇总
     * @param dateD
     */
    void  dataSummary(DateDTO  dateD);


     void dataDecimation( DateDTO dateDTO) throws JobInstanceAlreadyCompleteException, JobExecutionAlreadyRunningException, JobParametersInvalidException, JobRestartException;


}
